<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>搜索用户</title>
    <link rel="stylesheet" href="../SignUpStyle.css">
    <link href="https://fonts.googleapis.com/css?familymPermanent+Marker" >
</head>
<?php
    include_once('../is_login.php');
    session_start();
    if(!is_login()){
        echo "<script>alert('请登录系统后访问!');window.location.href='http://localhost:8080/PHP-NEWS-RELEASE-SYSTEM/Application/User/Page/login.php'</script>";
    }
    if(!is_admin()){
        echo "<script>alert('权限不足!');window.location.href='http://localhost:8080/PHP-NEWS-RELEASE-SYSTEM/Application/User/Page/login.php'</script>";
    }

?>
<body>
<div class="sign-div">
    <form class="" action="../Action/Search_user_action.php" method="post">
        <h1>搜索用户</h1>
        <input class="sign-text" type="text" placeholder="账号" name="ID">
        <input class="sign-btn" type="submit" value="搜索">
        <a href="http://localhost:8080/PHP-NEWS-RELEASE-SYSTEM/Application/User/Page/login.php">返回主页</a>
    </form>
</div>

</body>

</html>